package com.lz.yz.member.enumeration;

/**
 * 1用户初始化 2用户选中的标签
 */
public enum LabelType {
    INIT(1), SELECT(2);

    private int value;
    LabelType(int value) {
        this.value = value;
    }

    public int value() {
        return this.value;
    }

    public static LabelType getLabelTypeByStatus(int status){
        switch (status){
            case 1 : return LabelType.INIT;
            case 2 : return LabelType.SELECT;
        }
        return null;
    }
}
